<include file="Public/header" />
    <div class="comm-top">
        <div class="title-left"><{$user_info.nickname}> 的成长值记录</div>
        <div class="title-left"><a style="color:#009997;cursor:pointer;" href="<{:U('index')}>">返回</a></div>
        <div class="title-right" style="top:8px;">
        <form method="get" action="<{:U('index')}>">
            <input type="hidden" name="m" value="<{:MODULE_NAME}>" />
            <input type="hidden" name="c" value="<{:CONTROLLER_NAME}>" />
            <input type="hidden" name="a" value="<{:ACTION_NAME}>" />
            <input type="hidden" name="user_id" value="<{$user_id}>"/>
            <input name="keywords" class="textarea search_inp" placeholder="请输入关键词" type="text" value="<{:I('get.keywords')}>"/>
            <input value="搜索" class="btn btn-success search_btn" type="submit" />
        </form>
        </div>
    </div>
    <div class="list-table">
        <div class="wrapper">
            <table class="stable">
                <thead>
                    <tr>
                        <th>信息</th>
                        <th>积分值</th>
                        <th>时间</th>
                        <!--<th>操作</th>-->
                    </tr>
                </thead>
                <tbody>
                    <foreach name="list" item="vo">
                        <tr>
                            <td><{$vo.message}></td>
                            <!--<span>【<{$customersKV[$vo['customer_id']]}>】赠送【<{$usersKV[$vo['user_id']]}>】 <{$vo.cent_value}> 积分</span>-->
                            <td><{$vo.cent_value}></td>
                            <td><{$vo.add_time|substr=0,16}></td>
<!--                            <td><div class="btn-operate">
                                <a href="javascript:void(0);" onclick="delRow('<{$vo.id}>',this)" title="删除" id="delBtn<{$vo.id}>"><i class="glyphicon glyphicon-trash"></i></a>
                            </div></td>-->
                        </tr>
                    </foreach>
                </tbody>
            </table>
        </div>
    </div>
    <div class="page-list"><{$page}></div>
<script type="text/javascript">
function delRow(id,obj){
    if(confirm('确定要删除吗？')){
        $.post("<{:U('dele_customer')}>",{id:id},function(res){
            if(res.status == 1){
                note_info(res.info,obj);
                setTimeout('location.reload()',1200);
            }else{
                note_info(res.info,obj,'warn');
            }
        },'json');
    }
}

</script>
<include file="Public/footer" />